package com.xjve.pojo;

import com.xjve.framework.hibernate.jpa.BaseSearch;
import com.xjve.framework.hibernate.jpa.SearchField;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.persistence.Column;

@Getter
@Setter
@Accessors(chain = true)
public class SysUserSearch extends BaseSearch<SysUser> {
    @Override
    protected Class<SysUser> getEntityClass() {
        return SysUser.class;
    }

    @SearchField("user_name")
    private String userName;

    @SearchField("nick_name")
    private String nickName;
}
